/**
 * 判断数组是否为空
 *
 * @param {any[]} arr 需要进行判断的数组
 * @returns {arr is []} true 为空数组，false 不为空数组
 */
export const isEmpty = (arr: any[]): arr is [] => arr.length === 0

export type IsEmptyArrType = typeof isEmpty
